from django.urls import path, re_path
from . import views


urlpatterns = [
    path('login/', views.login),
    path('register/', views.RegisterView.as_view())   # as_view 去调用类视图的方法
]
